package cn.wonderland.basic.service;


import cn.wonderland.basic.dto.EmailRegistDto;
import cn.wonderland.basic.dto.PhoneRegistDto;

import java.io.IOException;

public interface VerifyCodeService {

    String getImageCode(String imageCodeKey) throws IOException;

    void smsCode(PhoneRegistDto dto);

    String getEmailImageCode(String emailImageCodeKey) throws IOException;

    void emailCode(EmailRegistDto dto);
}
